package com.epam.Runner;

import javax.xml.bind.JAXBException;

import com.epam.Parsers.DOMParser;
import com.epam.Parsers.JAXBParser;
import com.epam.Parsers.SAXParserEpam;
import com.epam.Parsers.StAXParser;
import com.epam.Xml.Hotel;
import com.epam.Xml.TouristVoucher;
import com.epam.Xml.TouristVouchers;

public class Main {
	
	
	public static void main(String[] args) throws JAXBException {
		Hotel.hotelInit();
		TouristVouchers<TouristVoucher> w = TouristVoucher.voucherInit();
		
		SAXParserEpam sax = new SAXParserEpam();
		DOMParser dom = new DOMParser();
		StAXParser stax = new StAXParser();
		JAXBParser jaxb = new JAXBParser();
		
		for(TouristVoucher t : sax.parseXML()) {
		t.toString();	
		}
	}

}
